import { Middleware } from 'redux'
const logger: Middleware = () => (next) => (action) => {
  console.info(action)
  const result = next(action)
  return result
}
export default logger
